html {
  font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  word-spacing: 1px;
  text-size-adjust: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
}

.m-t {
  margin-top: 16px;
}
.m-t-s {
  margin-top: 8px;
}
.m-t-l {
  margin-top: 32px;
}
.m-b {
  margin-bottom: 16px;
}
.m-b-s {
  margin-bottom: 8px;
}
.m-b-l {
  margin-bottom: 32px;
}

.aspectratio {
  position: relative;
}
.aspectratio::before {
  content: "";
  display: block;
  width: 1px;
  margin-left: -1px;
  height: 0;
}
.aspectratio-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

[w-116-76] {
  aspect-ratio: '116:76';
}

// page
.page {
  position: relative;
  width: 100vw;
  height: 100vh;

  .page-header {
    background: #f44;
    color: #fff;
    
    .van-icon {
      color: inherit;
    }
    .van-nav-bar__text {
      color: inherit;
    }
  }
  
  .page-body {
    width: 100vw;
    height: 100vh;
    padding-top: 46px;
    padding-bottom: 50px;
    overflow: scroll;
  }

}

// media-list
.media-list {
  .media-item {
    display: flex;
    flex-flow: row;
    align-items: flex-start;
    padding: 10px;

    .thumb {
      width: 232px;
      margin-left: 16px;
    }

    .content {
      .title {
        font-size: 16px;
        line-height: 1.5;
        [href] {
          color: inherit;
        }
      }
      .meta {
        font-size: 14px;
        color: #999;
        overflow:hidden; 
        text-overflow:ellipsis;
        display:-webkit-box; 
        -webkit-line-clamp:1; 
        /* autoprefixer: off */
        -webkit-box-orient: vertical;
      }
    }
  }
}

// comment-list
.comment-list {
  .comment-item {
    display: flex;
    flex-flow: row;
    align-items: flex-start;
    position: relative;
    padding: 16px 0;

    &:after {
      content: '';
      position: absolute;
      height: 1px;
      background: #e8e8e8;
      left: 52px;
      right: 0;
      bottom: 0;
    }
    &:last-child {
      &:after {
        display: none;
      }
    }

    .comment-item-thumb {
      width: 36px;
      height: 36px;
      border-radius: 100%;
      margin-right: 16px;
      overflow: hidden;
    }

    .comment-item-content {
      position: relative;
      flex: 1;
      .comment-item-header {
        font-size: 14px;

        .user-info {
          margin-right: 16px;
        }
        .time{
          color: #999999;
        }
      }
      .comment-item-body {
        margin: 10px 0;
        font-size: 14px;
        line-height: 1.5;
      }
      .comment-item-footer {
        display: flex;
        flex-flow: row;
        align-items: center;
        justify-content: space-between;

        .reply {
          font-size: 14px;
        }
        .zan {
          color: #999999;
          line-height: 1.5;
          i {
            vertical-align: middle;
            font-size: 14px;
            line-height: 1.5;
          }
        }
      }
    }
  }
}